//函数的代码
export const getAssetsImg = (image:string) => {
    return new URL(`../assets/images/${image}`,import.meta.url).href
}